package com.yjd.comm.sms.model;

import com.yjd.comm.base.model.Model;

/**
* @ClassName: SmsContentModel
* @Description: 短信内容，内部不允许放一些流对象，如果发送彩信，可以添加彩信对象的id引用
* @author ready likun_557@163.com
* @date 2014-8-13 下午6:56:25
 */
public class SmsContentModel extends Model {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Long idSmsContent;
	/**
	 * 模板编号
	 */
	private Long idSmsTemplate;
	/**
	 * 接受号码
	 */
	private String mobile;
	/**
	 * 短信内容
	 */
	private String content;
	/**
	 * 创建时间
	 */
	private Long createTime;
	/**
	 * 发送时间
	 */
	private Long sendTime;
	/**
	 * 实际发送时间
	 */
	private Long actualSendTime;
	/**
	 * 状态,0：待发送，1：发送成，2：发送失败
	 */
	private Integer status;
	/**
	 * 最大发送失败次数
	 */
	private Integer maxFailure;
	/**
	 * 当前发送失败次数
	 */
	private Integer failure;
	/**
	 * 短信通道编号
	 */
	private Long idSmsChannel;
	/**
	 * 优先级
	 */
	private Integer priority;
	/**
	 * 发送返回信息
	 */
	private String responseMsg;
	/**
	 * 序列号
	 */
	private String serialId;

	/**
	 * 短信通道编码，唯一
	 */
	private String channelCode;
	/**
	 * 通道名称
	 */
	private String channelName;
	/**
	 * 通道属性，json格式
	 */
	private String channelTheAttrs;
	/**
	 * 短信通道描述
	 */
	private String channelDescription;

	public Long getIdSmsContent() {
		return idSmsContent;
	}

	public void setIdSmsContent(Long idSmsContent) {
		this.idSmsContent = idSmsContent;
	}

	public Long getIdSmsTemplate() {
		return idSmsTemplate;
	}

	public void setIdSmsTemplate(Long idSmsTemplate) {
		this.idSmsTemplate = idSmsTemplate;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getSendTime() {
		return sendTime;
	}

	public void setSendTime(Long sendTime) {
		this.sendTime = sendTime;
	}

	public Long getActualSendTime() {
		return actualSendTime;
	}

	public void setActualSendTime(Long actualSendTime) {
		this.actualSendTime = actualSendTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getMaxFailure() {
		return maxFailure;
	}

	public void setMaxFailure(Integer maxFailure) {
		this.maxFailure = maxFailure;
	}

	public Integer getFailure() {
		return failure;
	}

	public void setFailure(Integer failure) {
		this.failure = failure;
	}

	public Long getIdSmsChannel() {
		return idSmsChannel;
	}

	public void setIdSmsChannel(Long idSmsChannel) {
		this.idSmsChannel = idSmsChannel;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public String getResponseMsg() {
		return responseMsg;
	}

	public void setResponseMsg(String responseMsg) {
		this.responseMsg = responseMsg;
	}

	public String getSerialId() {
		return serialId;
	}

	public void setSerialId(String serialId) {
		this.serialId = serialId;
	}

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getChannelTheAttrs() {
		return channelTheAttrs;
	}

	public void setChannelTheAttrs(String channelTheAttrs) {
		this.channelTheAttrs = channelTheAttrs;
	}

	public String getChannelDescription() {
		return channelDescription;
	}

	public void setChannelDescription(String channelDescription) {
		this.channelDescription = channelDescription;
	}
}
